module.exports = app => {
    const { STRING, INTEGER } = app.Sequelize;
    const  User= app.model.define('user', {
      id: { type: STRING, primaryKey: true },
      username: STRING(30),
      password: STRING(30),
    }, {
      timestamps: false, // 自动增加创建时间
      tableName: 'user', // 设置表名称
    });
    return User;
  };